package com.alibabacloud.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
/**
 * @Author: kangerbao
 * @createTime: 2022年05月09日 10:01:03
 * @version: 1.0
 * @Description:
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class })
@EnableDiscoveryClient
public class GatewayApption {
    //接口访问需要加上appId
    //localhost:1220/alibaba-cloud-web/greet/sayhi
    public static void main(String[] args) {
        SpringApplication.run(GatewayApption.class, args);
    }
}
